<?php

/**
 * facturas filter form.
 *
 * @package    gescell
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormFilterTemplate.php 11675 2008-09-19 15:21:38Z fabien $
 */
class facturasFormFilter extends BasefacturasFormFilter
{
  public function configure()
  {
      $this->widgetSchema['clientes_id'] = new sfWidgetFormChoice(array(
         'choices'          => array(),
         'renderer_class'   => 'sfWidgetFormPropelJQueryAutocompleter',
         'renderer_options' => array(
         'model'            => 'clientes',
         'url'              => 'facturas/autocompletado_cliente'
         //'url'              => $this->getOption('url')
    )));

   /* $this->widgetSchema['fecha']  = new sfWidgetFormFilterDate(array(
        'from_date' =>  new sfWidgetFormJQueryDate(array(
          'format' =>  '%day%/%month%/%year%'
      )), 
        'to_date' =>  new sfWidgetFormJQueryDate(array(
          'format' =>  '%day%/%month%/%year%'
      )), 
        'with_empty' => true));
*/

            














  }
}
